package com.beaven.java;

import com.beaven.java.exercise.One;

/**
 * @author Beaven
 * @date 2018/7/22 21:57
 */
public class ExerciseMain {

    public static void main(String[] args) {
        One one = new One();
        one.push(3);
        System.out.println(one.getMin());
        one.push(2);
        System.out.println(one.getMin());
        one.push(1);
        System.out.println(one.getMin());
        one.pop();
        System.out.println(one.getMin());
    }
}
